const name = 'jixiao'
const age = 20
const message = 'hello world'
function sayHello (name) {
  console.log('hello '+ name)
}
exports.name = name
exports.age = age
exports.sayHello = sayHello

// console.log('EXPORTS',exports)
//本质上是module.exports在导出
module.exports = {
  name: 'xiao',
  age: 30,
  sayHello: function (name) {
    console.log('sayHello===', name)
  }
}